package com.tarena.lbs.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@ApiModel("文章结果返回")
@Data
public class ArticleVO {
	
	@Schema(description = "文章id")
	private Integer id;
	
	@Schema(description = "文章标题")
	private String articleTitle;
	
	@Schema(description = "文章分类id")
	private Integer articleCategoryId;
	
	@Schema(description = "文章分类名称")
	private String articleCategory;
	
	@Schema(description = "文章标签")
	private String articleLabel;
	
	@Schema(description = "文章摘要")
	private String articleDigest;
	
	@Schema(description = "文章封面")
	private String articleCover;
	
	@Schema(description = "文章主图")
	private String articleMainPic;
	
	@Schema(description = "文章详情")
	private String articleDetail;
	
	@Schema(description = "店铺Id")
	private Integer shopId;
	
	@Schema(description = "活动引流标语")
	private String activityWord;
	
	@Schema(description = "活动ID")
	private Integer activityId;
	
	@Schema(description = "维度")
	private String latitude;
	
	@Schema(description = "经度、维度，逗号隔开")
	private String location;
	
	@Schema(description = "经度")
	private String longitude;
	
	@Schema(description = "文章状态")
	private Integer articleStatus;
	
	@Schema(description = "访问数量")
	private Integer accessCount;
	
	@Schema(description = "点赞数量")
	private Integer likeCount;
	
	@Schema(description = "收藏数量")
	private Integer favoriteCount;
	
	@Schema(description = "文章的发布者")
	private Integer userId;
	
	@Schema(description = "文章的发布者头像")
	private String userPic;
	
	@Schema(description = "文章的发布者名称")
	private String userName;
	
	@Schema(description = "文章涞源")
	private Integer source;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	
}
